package com.song.pattern.adapter;

import com.song.pattern.adapter.source.Source;
import com.song.pattern.adapter.target.Targetable;

public class Wrapper implements Targetable{

	private Source source;
	public  Wrapper(Source source){
		this.source = source;
	}
	@Override
	public void method1() {
		source.method1();
	}
	@Override
	public void method2() {
		System.out.println("this is targetable method!");
	}
}
